package org.xiaobai.ai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.xiaobai.common.entity.BaseEntity;

import java.util.Date;

/**
 * @author dingfeng.xiao
 * @description
 * @date 2023/8/30 10:18
 */
@Data
@TableName(value = "t_chat_room_share")
public class ChatRoomShareVO extends BaseEntity {
    /**
     * 分享码
     */
    private String shardCode;
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 分享用户from
     */
    private Long shareFrom;
    /**
     * 分享用户to
     */
    private Long shareTo;
    /**
     * 是否有效
     */
    private Boolean valid;
    /**
     * 到期时间
     */
    private Date validDate;
}
